﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SU.DomainModel.Entity;

namespace SU.DomainModel.Repository {
    public interface IFunctionsRepository : IRepository<Function> {
        IEnumerable<Function> GetMenu(string userID, string roleID);
        IQueryable<Function> GetItems(Func<Function, bool> pred);
        void AddFunctionRole(FunctionRole fr);
    }
}
